projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3b97f
)
jeeps/gpsserial: Remove warning 'int format, DWORD arg (arg 2)'
author
oliskoli
<oliskoli>
Thu, 18 Sep 2008 20:16:14 +0000
(20:16 +0000)
committer
oliskoli
<oliskoli>
Thu, 18 Sep 2008 20:16:14 +0000
(20:16 +0000)
jeeps/gpsserial.c
patch
|
blob
|
history
diff --git
a/jeeps/gpsserial.c
b/jeeps/gpsserial.c
index 4e90f0939ed1eba74c66293653fd62adfb79da73..b8cfdfec524f7e612d1dcf0cdb29a1803a6aecb1 100644
(file)
--- a/
jeeps/gpsserial.c
+++ b/
jeeps/gpsserial.c
@@
-208,7
+208,7
@@
int32 GPS_Serial_Write(gpsdevh *dh, const void *obuf, int size)
}
WriteFile (wsd->comport, obuf, size, &len, NULL);
if (len != (DWORD) size) {
- fatal ("Write error. Wrote %d of %d bytes.\n", len, size);
+ fatal ("Write error. Wrote %d of %d bytes.\n",
(int)
len, size);
}
return len;
}